package com.cl.edu.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 学历表
 * Education entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "education")
public class Education implements java.io.Serializable {

	// Fields

	private Long id; 
	private String name; 

	

	// Property accessors
	@Id
	@Column(name = "id", unique = true, nullable = false)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "name", length = 40)
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

}